<?php session_start(); ?>
<?php
if (!$_SESSION['user']) header("location: index.php"); // nếu biến session['banguyen'] chưa có thì trở về trang đăng nhập, copy dòng này vào trang nào muốn bảo vệ bằng mật khẩu
?>

<div class="m">
<table width="100%">
<tbody><tr>
<td valign="top" width="61%">
<div>
		
	<table><tr><td>
	<img src="images/capal/cpanel.png" />
	</td>
	<td>
	 <span style="font-size:18px; font-weight:bold; color:#0000FF">Bảng điều khiển hệ thống</span>
	</td></tr></table>	
		
</div>
<div id="cpanel"> 
			<div style="float: left;">
			<div class="icon">
			<a href="index.php?option=com_content&action=insert">
					<img src="images/capal/icon-48-article-add.png" width="60" height="60">					<br>
					<span style=" font-weight:bold">Thêm tin tức</span></a>
			</div>
		</div>

		<div style="float: left;">
			<div class="icon">
			<a href="index.php?option=com_content&action=view">
					<img src="images/capal/icon-48-article.png" width="60" height="60">					<br>
					<span style="font-weight:bold">Quản lý tin tưc</span></a>
			</div>
		</div>  

        <div style="float: left;">
			<div class="icon">
			<a href="?option=com_contact&action=view">
					<img src="images/capal/langmanager.png" width="60" height="60">					<br>
					<span style=" font-weight:bold">Các câu hỏi</span></a>
			</div>
		</div>
                <div style="float: left;">
			<div class="icon">
			<a href="?option=com_user&action=view">
					<img src="images/capal/About-me-icon.png" width="60" height="60">					<br>
					<span style=" font-weight:bold">Quản lý User</span></a>
			</div>
		</div>

         <br /><br /><br /><br /><br /><br /><br />
                         <div style="float: left;">
			<div class="icon">
			<a href="?option=com_advertisement&action=view">
					<img src="images/capal/home_icon.png" width="60" height="60">					<br>
					<span style=" font-weight:bold">Quản lý các cơ sở</span></a>
			</div>
		</div>
        
                <div style="float: left;">
			<div class="icon">
			<a href="?option=com_order_status&action=view">
					<img src="images/capal/icon-48-cpanel.png" width="60" height="60">					<br>
					<span style=" font-weight:bold">Quản lý các đơn vị liên kết</span></a>
			</div>
		</div>
         <div style="float: left;">
			<div class="icon">
			<a href="?option=com_images&action=view">
					<img src="images/capal/winrar_logo_thumb.png" width="60" height="60">					<br>
					<span style=" font-weight:bold">Quản lý khóa học ngắn hạn</span></a>
			</div>
		</div>
        	<div style="float: left;">
			<div class="icon">
			<a href="?option=com_lt&action=view">
					<img src="images/capal/icon-48-module.png" width="60" height="60">					<br>
					<span style=" font-weight:bold">Ngành học liên thông</span></a>
			</div>
		</div>
        
        
 <br /><br /><br /><br /><br /><br /><br />

        <div style="float: left;">
			<div class="icon">
				<a href="?option=com_structure&action=view">
			  <img src="images/capal/TKB.png" width="60" height="60">					<br>
				<span style=" font-weight:bold">Quản lý thời gian học</span></a> </div>
		</div>
       
		<div style="float: left;">
			<div class="icon">
			<a href="administrator/student.html">
					<img src="images/capal/icon-48-user.png" width="60" height="60">					<br>
					<span style=" font-weight:bold">Quản lý học viên</span></a>
			</div>
		</div>

		<div style="float: left;">
			<div class="icon">
			<a href="?option=com_lichhoc&action=view">
					<img src="images/capal/tkb.jpg" width="60" height="60">					<br>
					<span style="font-weight:bold">Quản lý lịch khai giảng</span></a>
			</div>
		</div>

        
        <div style="float: left;">
			<div class="icon">
			<a href="administrator/contents.html">
					<img src="images/capal/report.png" width="60" height="60">					<br>
					<span style=" font-weight:bold">Thống kê</span></a>
			</div>
		</div>
	
        

       
      

                     
        
      
		  </div>
	
		</td>

<td valign="top" width="39%">

<div>
	<table><tr><td>
	<img src="images/capal/shop_users.png" />
	</td>
	<td>
	 <span style="font-size:18px; font-weight:bold; color:#0000FF">Thông tin người dùng</span>
	</td></tr></table>	
	</div>

<table width="100%" cellspacing="1" style="font-size:14px;background-color: #f9f9f9;border: solid 1px #d5d5d5;width: auto;border-collapse: collapse;margin: 0px 0 4px 0;margin-bottom: 2px;" >
<tbody>
<tr>
<td width="30%" style="	text-align: right;border-bottom:1px solid #d5d5d5;border-right:1px solid #d5d5d5; padding: 4px;">Họ và tên</td>
<td width="70%" style="padding:4px; color:#F00"><input readonly="readonly" style="color:#F00" class="text_area" size="20" type="text" value="<?php echo $_SESSION['ten'] ?>"></td>
</tr>
<tr>
<td width="30%" style="	text-align: right;border-bottom:1px solid #d5d5d5;border-right:1px solid #d5d5d5;padding: 4px;">Email</td>
<td style="padding:4px; color:#F00"><input readonly="readonly" style="color:#F00" class="text_area" size="20" type="text" value="<?php echo $_SESSION['email'] ?>"></td>
</tr>
<tr>
<td width="30%" style="	text-align: right;border-bottom:1px solid #d5d5d5;border-right:1px solid #d5d5d5;padding: 4px;">Ngày truy cập</td>
<td style="padding:4px; color:#F00"><input readonly="readonly" style="color:#F00" class="text_area" size="20" type="text" value="<?php echo date('d-m-Y') ?>"></td>
</tr>
<tr>
<td style="	text-align: right;border-bottom:1px solid #d5d5d5;border-right:1px solid #d5d5d5;padding: 4px;" width="30%">Địa chỉ</td>
<td style="padding:4px; color:#F00">&nbsp;<?php echo $_SESSION['dchi_nv'] ?></td>
</tr>
<tr>
<td style="	text-align: right;border-bottom:1px solid #d5d5d5;border-right:1px solid #d5d5d5;padding: 4px;" width="30%">Số điện thọai</td>
<td style="padding:4px; color:#F00">&nbsp;<?php echo $_SESSION['sdt_nv'] ?></td>
</tr>
</tbody></table>			</td>
		</tr>
		</tbody></table>		
						<div class="clr"></div>
					</div>

